package com.qfedu.wisdomapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


/**
 * @Description:
 * @Author: 第六组
 * @Date: 2022/09/23 21:28:35
 */
@Data
@TableName("t_score_log")
public class ScoreLog {
    /**主键自增*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /**用户ID*/
    private Long uid;
    /**类型  1奖励  2惩罚*/
    private Integer type;
    /**奖励或扣除积分数*/
    private Integer score;
    /**积分表动描述*/
    private String info;
    /**创建时间*/
    private Date ctime;
}